.card {
    background: white;
    /*background: hsla(0, 0%, 100%, 0.25);*/
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-2px);
}

.card-header {
    padding: 20px 24px 0;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d2129;
    /*color: #fff;*/
}

.card-body {
    padding: 0 24px 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 20px;
    border-radius: 10px;
    background: white;
    /*background: hsla(0, 0%, 100%, 0.35);*/
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.stat-card:nth-child(2)::before {
    background: var(--success-color);
}

.stat-card:nth-child(3)::before {
    background: var(--warning-color);
}

.stat-card:nth-child(4)::before {
    background: var(--danger-color);
}

.stat-card:nth-child(5)::before {
    background: #722ed1;
}

.stat-card:nth-child(6)::before {
    background: #0fc6c2;
}

.stat-title {
    font-size: 14px;
    /*color: #86909c;*/
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contract-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.contract-stat {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.contract-value {
    font-size: 24px;
    font-weight: 700;
    margin-top: 8px;
    color: var(--primary-color);
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(52, 145, 250, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.icon-wrapper svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}
